User = 'test'
Pass = '123123'
for i in range(3):
    Input1 = input('Please input your user ID: ')
    Input2 = input('Please input your password: ')
    if Input1 == False or Input2 ==False:
        print('Please input your ID and Password.')
    elif Input1 != User or Input2 != Pass:
        print('Failed {}, Please try again.\n'.format(i+1))
    else:
        print('Login Success.')
        break
    # good